package com.gitee.huanminabc.utils_tools.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * @Author huanmin
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "PermissionEntity",description = "")

@TableName("t_permission")
public class PermissionEntity implements Serializable{
    private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "主键uuid",required = true)
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "权限编码",required = false)
	@TableField("code")
	private String code;

	@ApiModelProperty(value = "权限描述",required = false)
	@TableField("desc")
	private String desc;

	@ApiModelProperty(value = "资源路径",required = false)
	@TableField("url")
	private String url;







}
